FROM node:12-alpine
COPY repositories /etc/apk/repositories

#RUN npm install -g yapi-cli --registry https://registry.npmmirror.com

RUN npm config set strict-ssl false && \
    npm install -g yapi-cli --registry https://registry.npmmirror.com

EXPOSE 3000 9090




